2006-03-06 Matthias Clasen <mclasen@redhat.com>
+ * gtk/gtktextview.c (text_window_invalidate_cursors): Take
+ cursor width into account when calculating the area to
+ be invalidated. (#333377, #323401 Steve Frécinaux)
+
* gtk/gtkmain.c (post_parse_hook): Set error when returning
FALSE. (#333268, Paolo Maggi, Christian Persch)
2006-03-06 Matthias Clasen <mclasen@redhat.com>
+ * gtk/gtktextview.c (text_window_invalidate_cursors): Take
+ cursor width into account when calculating the area to
+ be invalidated. (#333377, #323401 Steve Frécinaux)
+
* gtk/gtkmain.c (post_parse_hook): Set error when returning
FALSE. (#333268, Paolo Maggi, Christian Persch)
gtk_widget_style_get (win->widget,
"cursor-aspect-ratio", &cursor_aspect_ratio,
NULL);
-
+
stem_width = strong.height * cursor_aspect_ratio + 1;
arrow_width = stem_width + 1;
+ strong.width = stem_width;
+
/* round up to the next even number */
if (stem_width & 1)
stem_width++;
stem_width = weak.height * cursor_aspect_ratio + 1;
arrow_width = stem_width + 1;
+ weak.width = stem_width;
+
/* round up to the next even number */
if (stem_width & 1)
stem_width++;